#ifndef MYCANVAS_H
#define MYCANVAS_H

#include <QWidget>
#include <QPainter>
class MyCanvas : public QWidget
{
    Q_OBJECT
public:
    explicit MyCanvas(QWidget *parent = 0);

    virtual void paintEvent(QPaintEvent* pEvent);
    void Limpiar();
    double x_cotainferior;
    double x_cotasuperior;
    double y_cotainferior;
    double y_cotasuperior;
    int error;
    QString funcion;
signals:


public slots:


};

#endif // MYCANVAS_H
